package com.cxy.datawarehouse.mapper;

import com.cxy.datawarehouse.entity.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;

public interface UserMapper extends JpaRepository<User,Long>, JpaSpecificationExecutor<User> {
    User getUserByUserName(String userName);

    User getUserByPhone(String phone);
}
